<?php echo $this->doctype; ?>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>ProjektMan - <?php echo $this->pageTitle;?></title>
  <link rel="stylesheet" type="text/css" href="/css/form.css" />
  <link rel="stylesheet" type="text/css" href="/css/main.css" />
  <link rel="stylesheet" type="text/css" href="/css/list.css" />
  <link rel="stylesheet" type="text/css" href="/css/navigation.css" />
  <!--
  <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.7.0/build/datatable/assets/skins/sam/datatable.css">
  <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo-dom-event/yahoo-dom-event.js&2.7.0/build/dragdrop/dragdrop-min.js&2.7.0/build/element/element-min.js&2.7.0/build/datasource/datasource-min.js&2.7.0/build/datatable/datatable-min.js"></script>
  -->
  <?php
//
//    if ($this->dojo()->isEnabled()):
//        // Include dojo library
//        $this->dojo()->setLocalPath('/js/dojo/dojo.js')
//            // Use dojo theme tundra
//            ->addStyleSheetModule('dijit.themes.tundra');
//        // Echo out the dojo <script> tags
//        echo $this->dojo();
//    endif;
    ?>

</head>
<body class='yui-skin-sam'>
<div class='header'><h1>ProjektMan</h1>
    <div class='userbar'>
        <div class='crumbs'>&nbsp;<?php echo $this->crumbTrail; ?></div>
        <div class='logininfo'>&nbsp;
            <?php
            if(isset($_SESSION['user_id'])){
                echo "Logged in as " . $_SESSION['username'] . " :: <a href='/user/myaccount/'>Account</a> :: <a href='/user/logout/'>Logout</a>";
            }

            ?>
        </div>
        </div>
    </div>
    <div class='navigation'>
    	<?php echo $this->navigation; ?>
    </div>
</div>
<div class='maincontainer'>
<div class='infoarea'><?php echo $this->infoarea;?></div>
<div class='content'>
<?php echo $this->layout()->content; ?>

</div>
</div>
</body>
</html>
